package cn.fangline.wo.mapper;

import cn.fangline.wo.model.OriginHouse;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 原始房源表 Mapper 接口
 * </p>
 *
 * @author 抽离
 * @since 2017-04-21
 */
public interface OriginHouseMapper extends BaseMapper<OriginHouse> {

    public List<OriginHouse> selectDistribute(@Param("cityId") Integer cityId);

    public void writeBack(@Param("cityId") Integer cityId);

    public void writeOtherCorpId(@Param("cityId") Integer cityId);

    public List<OriginHouse> selectSellPointList(@Param("houseId") Long houseId);

}